import layout from '@/layouts/base-layout/index.vue'

const pre = 'form-'

export default {
  path: '/form',
  component: layout,
  meta: { name: '表单页面', iconSvg: 'menu-form' },
  redirect: {
    name: `${pre}basic-form`
  },
  children: [
    {
      path: 'basic-form',
      name: `${pre}basic-form`,
      meta: { name: '基础表单' },
      component: () => import('@/views/form/basic-form.vue')
    },
    {
      path: 'advanced-form',
      name: `${pre}advanced-form`,
      meta: { name: '高级表单' },
      component: () => import('@/views/form/advanced-form.vue')
    }
  ]
}
